<cfsilent>
	<!--- m&auml;chtige scrolls --->
	<cfparam name="possibleAcornPowerful" type="numeric" default="0" />
	<cfparam name="possibleEvilDandelionPowerful" type="numeric" default="0" />
	<cfparam name="possibleDemonicRosePowerful" type="numeric" default="0" />
	<cfparam name="possibleMushSpornPowerful" type="numeric" default="0" />
	<cfparam name="form.acornPowerfulAvailable" type="numeric" default="0" />
	<cfparam name="form.evilDandelionPowerfulAvailable" type="numeric" default="0" />
	<cfparam name="form.demonicRosePowerfulAvailable" type="numeric" default="0" />
	<cfparam name="form.mushSpornPowerfulAvailable" type="numeric" default="0" />
	<cfparam name="form.multiplicatorPowerful" type="numeric" default="0" />
	<cfparam name="formIsSubmittedPowerful" type="boolean" default="false" />

	<cfset acornPowerfulMod = 80 />
	<cfset evilDandelionPowerfulMod = 80 />
	<cfset demonicRosePowerfulMod = 80 />
	<cfset mushSpornPowerfulMod = 20 />

	<!--- gro&szlig;e scrolls --->
	<cfparam name="possibleAcornGreat" type="numeric" default="0" />
	<cfparam name="possibleEvilDandelionGreat" type="numeric" default="0" />
	<cfparam name="possibleDemonicRoseGreat" type="numeric" default="0" />
	<cfparam name="form.acornGreatAvailable" type="numeric" default="0" />
	<cfparam name="form.evilDandelionGreatAvailable" type="numeric" default="0" />
	<cfparam name="form.demonicRoseGreatAvailable" type="numeric" default="0" />
	<cfparam name="form.multiplicatorGreat" type="numeric" default="0" />
	<cfparam name="formIsSubmittedGreat" type="boolean" default="false" />

	<cfset acornGreatMod = 75 />
	<cfset evilDandelionGreatMod = 75 />
	<cfset demonicRoseGreatMod = 45 />

	<!--- mittlere scrolls --->
	<cfparam name="possibleAcornMedium" type="numeric" default="0" />
	<cfparam name="form.acornMediumAvailable" type="numeric" default="0" />
	<cfparam name="form.multiplicatorMedium" type="numeric" default="0" />
	<cfparam name="formIsSubmittedMedium" type="boolean" default="false" />

	<cfset acornMediumMod = 70 />


	<!--- berechnung nach form submit --->
	<cfif formIsSubmittedPowerful>
		<cfset possibleAcornPowerful = acornPowerfulAvailable \ acornPowerfulMod />
		<cfset possibleEvilDandelionPowerful = evilDandelionPowerfulAvailable \ evilDandelionPowerfulMod />
		<cfset possibleDemonicRosePowerful = demonicRosePowerfulAvailable \ demonicRosePowerfulMod />
		<cfset possibleMushSpornPowerful = mushSpornPowerfulAvailable \ mushSpornPowerfulMod />
		<cfif form.multiplicatorPowerful gt 0>
			<cfset necessaryAcornPowerful = acornPowerfulMod * multiplicatorPowerful />
			<cfset necessaryEvilDandelionPowerful = evilDandelionPowerfulMod * multiplicatorPowerful />
			<cfset necessaryDemonicRosePowerful = demonicRosePowerfulMod * multiplicatorPowerful />
			<cfset necessaryMushSpornPowerful = mushSpornPowerfulMod * multiplicatorPowerful />
		</cfif>
	</cfif>
	<cfif formIsSubmittedGreat>
		<cfset possibleAcornGreat = acornGreatAvailable \ acornGreatMod />
		<cfset possibleEvilDandelionGreat = evilDandelionGreatAvailable \ evilDandelionGreatMod />
		<cfset possibleDemonicRoseGreat = demonicRoseGreatAvailable \ demonicRoseGreatMod />
		<cfif form.multiplicatorGreat gt 0>
			<cfset necessaryAcornGreat = acornGreatMod * multiplicatorGreat />
			<cfset necessaryEvilDandelionGreat = evilDandelionGreatMod * multiplicatorGreat />
			<cfset necessaryDemonicRoseGreat = demonicRoseGreatMod * multiplicatorGreat />
		</cfif>
	</cfif>
	<cfif formIsSubmittedMedium>
		<cfset possibleAcornMedium = acornMediumAvailable \ acornMediumMod />
		<cfif form.multiplicatorMedium gt 0>
			<cfset necessaryAcornMedium = acornMediumMod * multiplicatorMedium />
		</cfif>
	</cfif>
</cfsilent>
<cfoutput>
	<div class="page-title">
		Flinkheitskramrantanplan
	</div>
	<!--- m�chtige --->
	<div class="float-left" style="padding:5px;">
		<cfpod title="M&auml;chtige Schriftrollen" height="360" width="430" headerStyle="color:black;">
			<form name="form" method="post">
				<table cellpadding="1" cellspacing="1" class="no-border" width="100%">
					<tr>
						<th>
							Eichel:
						</th>
						<td>
							<input type="text" name="acornPowerfulAvailable" size="4" value="#form.acornPowerfulAvailable#" />
						</td>
						<td>
							reichen f&uuml;r #possibleAcornPowerful# Scrolls
						</td>
					</tr>
					<tr>
						<th>
							Teuflische L&ouml;wenzahn Zunge:
						</th>
						<td>
							<input type="text" name="evilDandelionPowerfulAvailable" size="4" value="#form.evilDandelionPowerfulAvailable#" />
						</td>
						<td>
							reichen f&uuml;r #possibleEvilDandelionPowerful# Scrolls
						</td>
					</tr>
					<tr>
						<th>
							D&auml;monenrosen Bl&uuml;tenblatt:
						</th>
						<td>
							<input type="text" name="demonicRosePowerfulAvailable" size="4" value="#form.demonicRosePowerfulAvailable#" />
						</td>
						<td>
							reichen f&uuml;r #possibleDemonicRosePowerful# Scrolls
						</td>
					</tr>
					<tr>
						<th>
							Plizlingsporen:
						</th>
						<td>
							<input type="text" name="mushSpornPowerfulAvailable" size="4" value="#form.mushSpornPowerfulAvailable#" />
						</td>
						<td>
							reichen f&uuml;r #possibleMushSpornPowerful# Scrolls
						</td>
					</tr>
					<tr>
						<th style="vertical-align:top;">
							Mats multiplicator:
						</th>
						<td style="vertical-align:top;">
							<input type="text" name="multiplicatorPowerful" size="4" value="#form.multiplicatorPowerful#" />
						</td>
						<td>

							<input type="submit" name="submit" value="berechnen" />
							<input type="hidden" name="formIsSubmittedPowerful" value="true" />
						</td>
					</tr>
					<tr>
						<td colspan="3" class="info-message">
							<cfif formIsSubmittedPowerful and form.multiplicatorPowerful gt 0>
								Um #multiplicatorPowerful# m&auml;chtige Flinkheit scrolls zu bekommen, brauchst du:<br />
								#necessaryAcornPowerful# Eichel<br />
								#necessaryEvilDandelionPowerful# Teufliche L&ouml;wenzahnzunge<br />
								#necessaryDemonicRosePowerful# D&auml;monenrosen Bl&uuml;tenblatt<br />
								#necessaryMushSpornPowerful# Plizlingsporen<br />
								Eintauschen bei [3, 4]
							</cfif>
						</td>
					</tr>
				</table>
			</form>
		</cfpod>
	</div>

	<!--- gro�e --->
	<div class="float-left" style="padding:5px;">
		<cfpod title="Gro&szlig;e Schriftrollen" height="182" width="430" headerStyle="color:black;">
			<form name="form" method="post">
				<table cellpadding="1" cellspacing="1" class="no-border" width="100%">
					<tr>
						<th>
							Eichel:
						</th>
						<td>
							<input type="text" name="acornGreatAvailable" size="4" value="#form.acornGreatAvailable#" />
						</td>
						<td>
							reichen f&uuml;r #possibleAcornGreat# Scrolls
						</td>
					</tr>
					<tr>
						<th>
							Teuflische L&ouml;wenzahn Zunge:
						</th>
						<td>
							<input type="text" name="evilDandelionGreatAvailable" size="4" value="#form.evilDandelionGreatAvailable#" />
						</td>
						<td>
							reichen f&uuml;r #possibleEvilDandelionGreat# Scrolls
						</td>
					</tr>
					<tr>
						<th>
							D&auml;monenrosen Bl&uuml;tenblatt:
						</th>
						<td>
							<input type="text" name="demonicRoseGreatAvailable" size="4" value="#form.demonicRoseGreatAvailable#" />
						</td>
						<td>
							reichen f&uuml;r #possibleDemonicRoseGreat# Scrolls
						</td>
					</tr>
					<tr>
						<th style="vertical-align:top;">
							Mats multiplicator:
						</th>
						<td style="vertical-align:top;">
							<input type="text" name="multiplicatorGreat" size="4" value="#form.multiplicatorGreat#" />
						</td>
						<td>

							<input type="submit" name="submit" value="berechnen" />
							<input type="hidden" name="formIsSubmittedGreat" value="true" />
						</td>
					</tr>
					<tr>
						<td colspan="3" class="info-message">
							<cfif formIsSubmittedGreat and form.multiplicatorGreat gt 0>
								Um #multiplicatorGreat# gro&szlig;e Flinkheit scrolls zu bekommen, brauchst du:<br />
								#necessaryAcornGreat# Eichel<br />
								#necessaryEvilDandelionGreat# Teufliche L&ouml;wenzahnzunge<br />
								#necessaryDemonicRoseGreat# D&auml;monenrosen Bl&uuml;tenblatt<br />
								Eintauschen bei [3, 4]
							</cfif>
						</td>
					</tr>
				</table>
			</form>
		</cfpod>
	</div>

	<!--- mittlere --->
	<div class="float-left" style="padding:5px;">
		<cfpod title="Mittlere Schriftrollen" height="118" width="430" headerStyle="color:black;">
			<form name="form" action="" method="post">
				<table cellpadding="1" cellspacing="1" class="no-border" width="100%">
					<tr>
						<th>
							Eichel:
						</th>
						<td>
							<input type="text" name="acornMediumAvailable" size="4" value="#form.acornMediumAvailable#" />
						</td>
						<td>
							reichen f&uuml;r #possibleAcornMedium# Scrolls
						</td>
					</tr>
					<tr>
						<th style="vertical-align:top;">
							Mats multiplicator:
						</th>
						<td style="vertical-align:top;">
							<input type="text" name="multiplicatorMedium" size="4" value="#form.multiplicatorMedium#" />
						</td>
						<td>
							<input type="submit" name="submit" value="berechnen" />
							<input type="hidden" name="formIsSubmittedMedium" value="true" />
						</td>
					</tr>
					<tr>
						<td colspan="3" class="info-message">
							<cfif formIsSubmittedMedium and form.multiplicatorMedium gt 0>
								Um #multiplicatorMedium# mittlere Flinkheit scrolls zu bekommen, brauchst du:<br />
								#necessaryAcornMedium# Eichel<br />
								Eintauschen bei [2, 17]
							</cfif>
						</td>
					</tr>
				</table>
			</form>
		</cfpod>
	</div>
	<div class="clear-float" />
	<div class="float-left" style="margin-left:5px;">
		<cfpod title="Der beste Weg um Flinkheit auf 101 zu scrollen" height="96" width="870" headerStyle="color:black;">
			25 Kleine scrolls (2500 Flinki Ringe)<br />
			25 Mittlere scrolls (1750 Eichel)<br />
			29 Gro&szlig;e scrolls (2175 Eichel, 2175 Teuflische L&ouml;wenzahnzunge, 2030 D&auml;monenrosenbl&uuml;tenblatt)<br />
			11 M&auml;chtige scrolls (880 Eichel, 880 Teuflische L&ouml;wenzahnzunge, 880 D&auml;monenrosenbl&uuml;tenblatt, 220 Pilzlingsporen)
		</cfpod>
	</div>
</cfoutput>